package fair.service;

import fair.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author: Jingtao_Wu
 * @DATE: 2021-02-25 20:00
 **/

public interface IUserService extends IService<User> {

    User findOne(String username);

    Integer insert(User user);

    List<User> findTeaByPage(String pageNum, String pageSize);

    List<User> findStuByPage(String pageNum, String pageSize);

    void updateByUsername(User user);
}
